package okl.lab.namesFilter.view.utils
{
	import mx.resources.ResourceManager;
	import mx.utils.StringUtil;
	
	import okl.lab.namesFilter.model.vo.User;

	/**
	 *	@author "oleksandr.kulinchenko@gmail.com"
	 */
	public class FormatHelper
	{
		public function FormatHelper()
		{
		}
		
		
		public static function formatUserName(user:User):String{
			var locTemplate:String = ResourceManager.getInstance().getString("app", "format_userName");
			return StringUtil.substitute(locTemplate, user.firstName, user.lastName);
		}
	}
}